package com.gdupt.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class UserRoleVo {
    private Integer userId;//用户编号
    private String name;//用户名称
    private String logName;//登录名
    private String logPwd;//登录密码

    private String roleName;//角色名称
    private String code;//角色码
    private int status;//状态
    private int roleId;//编号
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime creationTime;//创建时间
    private String creationId;//创建人
}
